Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: Telephony /
Chapter 2 - Telephone Terminals / Telephone Terminals Reference
Telephone Terminals Functions / Monitoring and Controlling Telephone Terminals


TELGetIndHSConnect

Gets the connection state of a telephone handset.

pascal TELErr TELGetIndHSConnect (TELHandle termHand, Boolean *Connect);
termHand
A handle to a telephone record associated with a telephone terminal.
Connect
On exit, a Boolean value that indicates whether the specified telephone handset is connected to a phone line (telIndHSConnected) or not (telIndHSDisconnected).
function result
A result code.
DESCRIPTION
The TELGetIndHSConnect function returns, in the Connect parameter, the current connection state of the telephone handset specified by the termHand parameter. If Connect is telIndHSConnected, the handset is connected; otherwise, the handset is not connected.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 DEC 1996



Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help